//
//  ImgTextAttachment.m
//  01 TextKitTest
//
//  Created by gj on 15/9/12.
//  Copyright (c) 2015年 www.huiwen.com 杭州汇文教育. All rights reserved.
//

#import "ImgTextAttachment.h"

@implementation ImgTextAttachment

//返回附件在 附件大小 ,lineFrag包含一行的宽 高
- (CGRect)attachmentBoundsForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex{
    
    return CGRectMake(0, -3, 17 , 17);
}


@end
